package com.blyat.xsoft.kernel.component.disruptor;

import com.lmax.disruptor.EventHandler;
import com.lmax.disruptor.WorkHandler;

/**
 * @Auther: syh
 * @Date: 2020/7/8
 * @Description:
 */
public interface Handler<T> extends EventHandler<Metadata<T>>, WorkHandler<Metadata<T>> {
    void handle(T data, Boolean over) throws Exception;
}
